#ifndef MAINUIPLUGIN_H
#define MAINUIPLUGIN_H

#include <QObject>
#include <QWidget>
#include "MainuiPluginInterface.h"
#include "mainwidget.h"


class mainuiPlugin:public QObject, public MainuiPluginInterface
{
    Q_OBJECT
    Q_INTERFACES(MainuiPluginInterface)
    Q_PLUGIN_METADATA(IID "App.plugin.mainui" FILE "info.json")

public:
    explicit mainuiPlugin(QObject *parent = nullptr);
    virtual ~mainuiPlugin();

    virtual QMap<QString,QList<QAction *>> getActions() override;
    virtual QString getCatogry() override;
    virtual QList<QWidget *> getWidgets() override;
private:
    mainwidget *m_mainwidget;
};

#endif // MAINUIPLUGIN_H
